home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM ==========
- REM NOSENV.BAT
- REM ==========
-
- REM This script is called from AUTOEXEC.BAT and defines the
- REM NOS environment.
-
- REM Make sure you have sufficent DOS environment space
- REM (e.g. use "/e:1024" in CONFIG.SYS).
- REM
- REM All NOS files are relative to the NOS root directory, P:
-
- SUBST P: _IN_
- PATH=%PATH%;P:\
-
- SET HOME=P:\pcelm
- SET SPOOL=P:\spool
-
- SET EDITOR=p:\q.exe
- SET MAILBOX=_UC_
- SET MAILDIR=%SPOOL%\mail
- SET MAILER=P:\pcelm\pcelm.exe
- SET PUBDIR=P:\public
- SET SPOOLDIR=%SPOOL%\mqueue
- SET TMPDIR=P:\TMPFILES
- SET TZ=GMT0
-
- SET USER=_UC_
- SET HAMDOMAIN=ampr.org
- SET HAMNODENAME=_UC_.ampr.org
- SET NAME=_FN_
- SET NODENAME=_UC_.ampr.org
- :start
- cls
- P:\
- REM Making the default directory P:\WORK keeps system files safe
- cd \work
- call nos.exe -dp:/
- REM Tidy up at exit time
- if exist _IN_\spool\mqueue\*.lck del _IN_\spool\mqueue\*.lck
- if exist _IN_\spool\mail\*.lck del _IN_\spool\mail\*.lck
- if exist _IN_\TMPFILES\*.$$$ del _IN_\TMPFILES\*.$$$
- REM The end